const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({

  devServer: {
    proxy: {
      '/ws': {
        target: 'http://localhost:8080',
        changeOrigin: true,
      },
    },
  },
  transpileDependencies: true,
   lintOnSave: false,
  chainWebpack: config => {
    config.module.rules.delete('eslint');
  },
  devServer: {
    port: 8081  // 将端口号设置为 8081
  }
})